package com.hj.system.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = SystemProperties.SYSTEM_PREFIX)
public class SystemProperties {
    public static final String SYSTEM_PREFIX = "system";
    private String resetPw = "111111";

    public void setResetPw(String resetPw) {
        if (resetPw != null && !"".equalsIgnoreCase(resetPw)) {
            this.resetPw = resetPw;
        }
    }

    public String getResetPw() {
        return resetPw;
    }
}
